package com.admin.education.dataTransferObject.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class ActivityTransfer {
    private long id;
    private String title;
    private String description;
    private String publisher;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd", locale = "zh")
    private Date beginTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd", locale = "zh")
    private Date endTime;
    private boolean end;
    private boolean valid;
}
